<script setup lang="ts">
import {onMounted} from "vue";
import {eventBus, EventName} from "@/event/event.ts";
import {eventHandlerCenter} from "@/event/eventhandlecenter.ts";

onMounted(() => {
  eventBus.on(EventName.GLOBAL_MESSAGE, (param: any) => {
    eventHandlerCenter(EventName.GLOBAL_MESSAGE, param)
  })
})
</script>

<template>
  <div style="width: 100vw;height: 100vh" class="app  hide-scrollbar">
    <router-view></router-view>
  </div>

</template>

<style lang="scss" scoped>

</style>
